<?php
namespace com\mvc\logger;

use \Monolog\Logger as Monolog;
use \Monolog\Handler\StreamHandler as StreamHandler;
use \Monolog\Handler\RotatingFileHandler as RotatingFileHandler;
use \Monolog\Handler\ChromePHPHandler as ChromePHPHandler;

class Logger{
	public static $log;
	
	public static function configureLog(){
		self::$log = new Monolog('logger');
		//self::$log->pushHandler(new StreamHandler(PATH_LOGS.'log_mvc.log', Monolog::WARNING));
		//self::$log->pushHandler(new StreamHandler(PATH_LOGS.'log_mvc.log', Monolog::WARNING));
		self::$log->pushHandler(new ChromePHPHandler(Monolog::WARNING));
		
	}
}
?>